package com.feizi.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.feizi.entity.UserEntity;
import com.feizi.entity.UserSelectEntity;
import com.feizi.mapper.UserMapper;
import com.feizi.service.UserService;

@Service
public class UserServiceImp implements UserService{
	
	@Autowired
	private UserMapper userMapper;

	@Override
	public List<UserEntity> find(UserSelectEntity pse) {
		// TODO Auto-generated method stub
		return userMapper.find(pse);
	}
	
	@Override
	public int upUser(UserEntity pey) {
		// TODO Auto-generated method stub
		return userMapper.upUser(pey);
	}
	@Override
	public int getCount(UserSelectEntity pse) {
		// TODO Auto-generated method stub
		return userMapper.getCount(pse);
	}
	
	

}
